package com.green.business.vo;

import com.green.system.vo.BaseVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Green
 * @Date: 2021/11/18/0:37
 * @Description:
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class ScrapVo extends BaseVo {

    private Integer providerid;
    //商品goodsid 在商品管理页面穿过来的数据
    private Integer id;
    private Integer scrapNumber;
    private String remark;
    private String providername;
    private String goodsname;
    private String size;

    //在商品报废页面搜索传过来的数据
    private Integer goodsid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
}
